package com.wst.system.server.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wst.system.security.entity.SysRoleMenuEntity;
import com.wst.system.security.entity.vo.SysRoleMenuEntityVo;

import java.io.Serializable;
import java.util.List;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/6/11 14:45
 * @since JDK 1.8
 */
public interface SysRoleMenuService extends IService<SysRoleMenuEntity> {

    public IPage<SysRoleMenuEntity> page(Integer pageNum,Integer pageSize,String roleId);

    public SysRoleMenuEntity getSysRoleMenuEntityRidMid(Serializable rid,Serializable mid);

    public List<SysRoleMenuEntity> getSysRoleMenuEntityRid(Serializable rid);

    public List<SysRoleMenuEntity> getSysRoleMenuEntityUid(Serializable uid);

    public List<SysRoleMenuEntity> getByRoleIds(List<Integer> roleIds);

    public void save(SysRoleMenuEntityVo vo);


}
